<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:choose>
	<c:when test="${requestScope.loginError==true }">
		<center> <b style="color: red">Login details are not correct! Retry</b> </center>
	</c:when>
</c:choose>
		
<form action="action.home?cmd=login" id="myForm" name="myForm" method="post">
	<table width="70%" height="80px;" align="center">
		<tr style="width: 17px;"><td width="80px">Login type:</td><td width="120px"><select name="loginType">
											<option selected="selected" value="Select">Select</option>
											<option value="admin">Admin</option>
											<option value="student">Student</option>
											<option value="teacher">Teacher</option>
											<option value="parent">Parent</option>
											</select></td></tr>
		<tr><td>User Name:</td><td><input type="text" size="15" name="id" id="loginId" /></td></tr>
		<tr><td>Password:</td><td><input type="password" size="15" name="password" id="password" /></td></tr>
		<tr><td colspan="2" style="text-align: center;"><input type="submit" name="login" id="login" value="Login" /></td></tr>
	</table>			
</form>